<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.getStorage({
				key: 'userInfo',
				success:function(){
				},
				fail:function(){
					uni.navigateTo({
						url: './pages/loginCloudMusic/loginCloudMusic',
						success() {
							uni.showToast({
								title: '您还未登录',
								icon: 'none'
							})
						}
					})
				}
			})
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	page {
		height: 100%;
	}
	
	.wrapBgc {
		width: 100%;
		height: 100vh;
		background-color: #f2f2f2;
		overflow: hidden;
	}
	
	.picanimation {
		animation: rotate 15s linear 0.2s infinite;
	}
	
	.picanimationPaused {
		animation-play-state: paused;
	}
	
	.picanimationRunning {
		animation-play-state: running;
	}
	
	@keyframes rotate{
		0%{
			transform: rotate(0deg);
		}
		50%{
			transform: rotate(180deg);
		}
		100%{
			transform: rotate(360deg);
		}
	}
</style>
